
<div id="left_avatar"> <a href="#"><img src="<?php echo $this->_var['user_detail']['avatar_path']; ?>" width="100" height="100" /></a> </div>
<div class="le_nav"> <?php if (count ( $this->_var['user_nav'] ) > 0): ?>
  <?php $_from = $this->_var['user_nav']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav']['iteration']++;
?>
  <ul  <?php if (! ($this->_foreach['nav']['iteration'] == $this->_foreach['nav']['total'])): ?>style="border-bottom:none"<?php endif; ?>>
    <li class="nav_tit"><?php echo $this->_var['nav']['name']; ?></li>
    <?php if (count ( $this->_var['nav']['item'] ) > 0): ?>
    <?php $_from = $this->_var['nav']['item']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'i');if (count($_from)):
    foreach ($_from AS $this->_var['i']):
?>
    <li><a href="<?php echo $this->_var['i']['url']; ?>"  <?php if ($this->_var['current_selected'] == $this->_var['i']['url']): ?>class="selected"<?php endif; ?>><?php echo $this->_var['i']['name']; ?></a></li>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    <?php endif; ?>
  </ul>
  <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
  <?php endif; ?> </div>
